<?php
    include_once 'config.php';
    $id = isset($_GET['id']) ? $_GET['id'] : '';
    if (delete_societe($id)) {
        header("Location: index.php?msg=Deleted");
        exit();
    } else {
        header("Location: index.php?msg=Delete Fail");
        exit();
    }
